<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 函数声明的语法
        function fun(x,y){
            var result = 3 * x + 4 * y + 5;
            return result
        }

        // 调用函数
        console.log(fun(2,3));
    </script>
</body>
</html>